public class Commande {
	RobotS2 robot;
	
	public void start()
	{
		try {
			this.robot = new RobotS2();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public void avance()
	{
		start();
		try {
			this.robot.avance();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
